<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>管理系统</title>

    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/layer/layer.js"></script>
    <script>
        <c:if test="${info != null}">
        layer.ready(function(){
            layer.open({
                type: 1,
                area : ["150px", "75px"],
                closeBtn: 0, //不显示关闭按钮
                title : false,
                anim: 6,
                shadeClose: true, //开启遮罩关闭
                time: 2000,
                content:  '<div style="margin: auto; width: 100%; height: 100%" class="alert alert-success" role="alert"><h5 style="text-align: center">${info}</h5></div>'
            });
        });
        </c:if>
    </script>
</head>

<body data-theme="translucent">
<!--End 左侧导航-->
<%@ include file="../jsp/left.jsp"%>

<!--头部信息-->
<%@ include file="../jsp/head.jsp"%>

<!--End 头部信息-->

<!--页面主要内容-->
<main class="lyear-layout-content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header"><h4>教师离职</h4></div>
                    <div class="card-body">
                        <form action="${pageContext.request.contextPath}/tea/resign" method="post" class="form-horizontal">
                            <div class="form-group">
                                <label class="col-md-5  col-md-offset-4" for="tid">工号</label>
                                <div class="col-md-4 col-md-offset-4">
                                    <input class="form-control" type="text" id="tid" name="tid" placeholder="请输入需要办理离职的工号...">
                                </div>
                                <hr/>
                                <hr/>
                                <hr/>
                                <label class="col-md-5  col-md-offset-4" for="email">邮箱</label>
                                <div class="col-md-4 col-md-offset-4">
                                    <input class="form-control" type="text" id="email" name="email" placeholder="请输入需要办理离职的邮箱...">
                                </div>
                            </div>
                            <div class="form-group">
                                <hr/>
                                <button type="submit" class="btn btn-w-md btn-round btn-danger col-md-offset-5">确认</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

        </div>

    </div>

</main>



<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/main.min.js"></script>

</body>
</html>